package cn.com.demo.microservice.consumer;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDistributedTransaction
@EnableFeignClients(basePackages = "cn.com.demo.microservice.consumer.service.feign")
@EnableTransactionManagement
public class StartConsumer10SecurityApp {
    public static void main(String[] args) {
        SpringApplication.run(StartConsumer10SecurityApp.class, args);
    }
}
